import {IsNotEmpty, IsNumber, IsUUID, Length} from "class-validator";
import {ApiProperty} from "@nestjs/swagger";

export class CreateRemarkDto {
    @IsNotEmpty()
    @IsUUID()
    @ApiProperty()
    companyId: string;
    @Length(1,5)
    @IsNumber()
    @ApiProperty()
    mark: number;
}
